package com.rundatop.dao.model;

import java.util.List;

import javax.persistence.*;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

@ToString
@Accessors(chain = true)
@Table(name = "`provinces`")
public class Provinces {
    @Id
    @Column(name = "`id`")
    private Integer id;

    @Column(name = "`provinceid`")
    private String provinceid;

    @Column(name = "`province`")
    private String province;
    
    @Transient
    private List<Cities> list;

    /**
     * 首字母
     */
    @Column(name = "`fa`")
    private String fa;
    
    

    public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getProvinceid() {
		return provinceid;
	}

	public void setProvinceid(String provinceid) {
		this.provinceid = provinceid;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public List<Cities> getList() {
		return list;
	}

	public void setList(List<Cities> list) {
		this.list = list;
	}

	public String getFa() {
		return fa;
	}

	public void setFa(String fa) {
		this.fa = fa;
	}

	public static final String ID = "id";

    public static final String PROVINCEID = "provinceid";

    public static final String PROVINCE = "province";

    public static final String FA = "fa";
}